package ch.silviowangler.hockeygame.service;

import ch.silviowangler.hockeygame.domain.User;
import ch.silviowangler.hockeygame.domain.UserDao;

/**
 * @author Silvio Wangler
 * @since 1.0
 *        Date: 19.06.2010
 */
public interface UserService {

    public User findUser(String nickName) throws UserNotFoundException;

    public User createUser(User user);

    public User updateUser(User user) throws UserNotFoundException;

    public void deleteUser(User user) throws UserNotFoundException;

    public void setUserDao(UserDao dao);
}
